
import java.io.FileReader;
import java.io.IOException;
import java.io.Reader;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 22652
 * Date: 2024-04-26
 * Time: 23:51
 */
public class demo_1 {
    public static void main(String[] args) throws IOException {
        Reader reader=new FileReader("C:\\Users\\22652\\Desktop\\程序\\1.txt");
        while (true){
            int tmp=reader.read();
            if (tmp==-1){
                break;
            }
            System.out.print((char) tmp);
        }
        reader.close();
    }
}
